// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-select-dropdown__list {
  list-style: none;
  padding: 12px 0;
  margin: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.zIndex9999 {
  z-index: 9999 !important;
}

.el-loading-mask {
  z-index: 9999 !important;
}

.el-card__body {
  padding: 15px;
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;

    .el-tag {
      margin-right: 0px;
    }
  }
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block;
  }
}

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

.el-table--border {
  border-radius: 4px;
  margin-bottom: 14px;
}

.el-table {
  thead {
    color: #215195;
  }

  .el-table__header-wrapper th {
    word-break: break-word;
    background-color: #f7fbff !important;
    color: #215195;
    height: 30px;
    font-size: 13px;
  }

  th {
    padding: 6px 0;

    .cell {
      color: #215195;
      font-size: 13px;
      line-height: 30px;
      min-height: 30px;
    }
  }

  td {
    padding: 6px 0;

    .cell {
      min-height: 40px;
      line-height: 40px;
      color: rgba($color: #000000, $alpha: 0.65);
    }
  }

  td.is-leaf {
    border-bottom: 1px solid #e8e8e8;
  }

  th.is-leaf {
    background: #e9f0f7 !important;
    border-bottom: none;
  }
}

.apply-box {
  .el-card__body {
    background: #f5fafd !important;
  }

  .el-card__header {
    background: #d8e5f1 !important;
    padding: 8px 20px;
    border-bottom: 1px solid #ebeef5;
    height: 50px;
  }
}

.history-box {
  .el-card__body {
    background: #f5fafd !important;
    padding: 10px 20px 20px 10px !important;
  }

  .el-card__header {
    background: #d8e5f1 !important;
    padding: 8px 20px;
    border-bottom: 1px solid #ebeef5;
    height: 50px;
  }
}

.techDialog {
  background: #ebf4fa !important;
  border-radius: 14px;

  .pagination-container {
    background: #ebf4fa !important;
    padding: 32px 16px;
  }

  .el-table td .cell {
    min-height: 30px;
    line-height: 30px;
    color: rgba(0, 0, 0, 0.65);
  }
}

.apply-dialog {
  .el-dialog__body {
    padding: 5px 20px 30px 20px;
    color: #606266;
    font-size: 14px;
    word-break: break-all;
  }

  .el-dialog__header {
    padding: 12px;
    border-bottom: 1px solid rgba($color: #000000, $alpha: 0.1);
  }

  .el-input.is-disabled .el-input__inner {
    background-color: #f5f7fa;
    border-color: #dfe4ed;
    color: #277fd6;
    cursor: not-allowed;
  }

  .el-input__inner {
    color: #277fd6;
  }

  .el-divider--horizontal {
    display: block;
    height: 1px;
    width: 100%;
    margin: 15px 0;
  }
}

.el-slider.el-slider--with-input {
  height: 36px;
  line-height: 36px;
}

.el-menu-item {
  font-size: 16px;
}

.el-submenu__title {
  font-size: 16px;
}

.el-dropdown-menu--medium .el-dropdown-menu__item {
  font-size: 16px;
}

.el-table th .cell {
  font-size: 16px;
}

.el-button--mini {
  font-size: 14px;
}

.el-tabs__item {
  font-size: 15px;
}

.el-form-item__label {
  font-size: 16px;
}

.el-input__inner {
  font-size: 15px;
}

.el-input--small {
  .el-select__caret {
    height:32px
  }
}


.tech {

  .el-pagination.is-background .btn-prev,
  .el-pagination.is-background .btn-next,
  .el-pagination.is-background .el-pager li {
    margin: 0 5px;
    background-color: #fff;
    color: #606266;
    min-width: 30px;
    border-radius: 2px;
  }
}

.el-button--primary {
  --el-button-font-color: #ffffff;
  --el-button-background-color: #4d70ff;
  --el-button-border-color: #4d70ff;
  --el-button-hover-color: #0d84ff;
  --el-button-active-font-color: #e6e6e6;
  --el-button-active-background-color: #0d84ff;
  --el-button-active-border-color: #0d84ff;
}

.el-button--primary {
  --el-button-font-color: #ffffff;
  --el-button-background-color: #4d70ff;
  --el-button-border-color: #4d70ff;
  --el-button-hover-color: #0d84ff;
  --el-button-active-font-color: #e6e6e6;
  --el-button-active-background-color: #0d84ff;
  --el-button-active-border-color: #0d84ff;
}

.el-button:focus {
  background-color: #fff;
  border-color: #dcdfe6;
  color: #606266;
}

.el-button:hover {
  color: #409eff;
  border-color: #c6e2ff;
  background-color: #ecf5ff;
}

.el-button:active {
  color: #3a8ee6;
  border-color: #3a8ee6;
  outline: 0;
}

.el-button--text:focus {
  background-color: initial;
  border-color: transparent;
  color: #409eff;
}

.el-button--text:hover {
  color: #66b1ff;
  border-color: transparent;
  background-color: transparent;
}

.el-button--text:active {
  color: #3a8ee6;
  border-color: transparent;
  background-color: transparent;
}

.el-button--primary:focus {
  background-color: #4d70ff;
  border-color: #4d70ff;
  color: #fff;
}

.el-button--primary:hover {
  background: #66b1ff;
  border-color: #66b1ff;
  color: #fff;
}

.el-button--primary.is-active,
.el-button--primary:active {
  background: #3a8ee6;
  border-color: #3a8ee6;
  color: #fff;
}

.el-button.is-link:focus {
  color: #4d70ff;
}

.el-button.is-link:hover {
  color: #66b1ff;
}

.el-button--success:focus {
  background-color: #67c23a;
  border-color: #67c23a;
  color: #fff;
}

.el-button--success:hover {
  background: #95d475;
  border-color: #95d475;
  color: #fff;
}

.el-button--success.is-active,
.el-button--success:active {
  background: #529b2e;
  border-color: #529b2e;
  color: #fff;
}

.el-button--warning:focus {
  background-color: #e6a23c;
  border-color: #e6a23c;
  color: #fff;
}

.el-button--warning:hover {
  background: #eebe77;
  border-color: #eebe77;
  color: #fff;
}

.el-button--warning.is-active,
.el-button--warning:active {
  background: #b88230;
  border-color: #b88230;
  color: #fff;
}

.el-button--danger:focus {
  background-color: #f56c6c;
  border-color: #f56c6c;
  color: #fff;
}

.el-button--danger:hover {
  background: #f89898;
  border-color: #f89898;
  color: #fff;
}

.el-button--danger.is-active,
.el-button--danger:active {
  background: #c45656;
  border-color: #c45656;
  color: #fff;
}

.el-table--medium .el-table__cell {
  padding: 6px 0;
}

.historyDialog {
  min-height: 600px;

  .el-dialog__body {
    padding: 10px 20px 20px 20px;
    color: #606266;
    font-size: 14px;
    word-break: break-all;
  }

  .el-table--medium .el-table__cell {
    padding: 5px 0;
  }
}

.del-btn.el-button {
  color: #ff4949 !important;
}

.el-upload-list__item.is-success.focusing .el-icon-close-tip {
  display: none !important;
}

.el-radio__label {
  font-size: 16px;
}

.el-radio {
  font-size: 16px;
}

.el-textarea__inner {
  font-size: 16px;
}

.reviewFrom {
  .el-radio__input.is-disabled.is-checked .el-radio__inner {
    background-color: #4d70ff;
    border-color: #4d70ff;
  }

  .el-radio__input.is-disabled+span.el-radio__label {
    color: #606266;
    cursor: not-allowed;
  }
}

.el-radio-button:focus:not(.is-focus):not(:active):not(.is-disabled) {
  -webkit-box-shadow: 0 0 0px 0px #4d70ff;
  box-shadow: 0 0 0px 0px #4d70ff;
}

.el-tag--dark.el-tag--success {
  background-color: #1ba784;
  border-color: #1ba784;
  color: #fff;
}

.el-tag--dark.el-tag--warning {
  background-color: #eaad1a;
  border-color: #eaad1a;
  color: #fff;
}

.el-scrollbar .el-scrollbar__wrap {
  overflow-x: hidden;
}

.tipsDialog {
  .el-dialog__body {
    border-top: 1px solid rgb(228, 226, 226);
    border-bottom: 1px solid rgb(228, 226, 226);
  }
}

.baqsj-flow {
  .el-radio {
    margin-right: 0px;
  }

  .el-radio-group {
    display: flex;
    line-height: 1;
    vertical-align: middle;
    font-size: 16px;
    flex-direction: column;
    align-items: center;
  }

  .el-radio.is-bordered {
    padding: 25px 30px;
    border-radius: 8px;
    border: 1px solid #f5f5f5;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    height: 70px;
    width: 300px;
    background: #f5f5f5;
    margin-bottom: 10px;
  }
}

.baqsj-home {
  .el-dialog__title {
    line-height: 24px;
    font-size: 20px;
    color: #303133;
  }
}

.el-table {
  border-radius: 10px;
}

.el-card__header {
  border-bottom: 0px solid #e6ebf5;
}

.cushing-radio {
  padding: 10px;
  margin: 10px 0px;
  background: #f7f9fb;
  width: 100%;
  border-radius: 6px;
  display: flex;
  flex-direction: row;

  .el-radio__input.is-checked .el-radio__inner:after {
    transform: rotate(45deg) scaleY(1);
  }

  .el-radio__label {
    font-size: 17px;
    text-overflow: ellipsis;
    word-wrap: normal;
    white-space: normal;
    line-height: 22px;
    vertical-align: text-top;
    display: inline-block;
    color: #263238;
    width: 100%;
    text-align: center;
    padding-left: 0px;
  }

  .el-radio__input {
    margin-top: 1px;
    display: none
  }
}

.cushing-radio.is-checked {
  background-color: #277fd6 !important;
}

.cushing-mini .el-radio__inner {
  display: inline-block;
  position: relative;
  border: 1px solid #a4a4a4;
  border-radius: 18px;
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  background: #ffffff;
  box-shadow: 0px 1px 0px 0px #ffffff, 0px 1px 1px 0px #b9c3ce;
  z-index: 1;
  transition: border-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46), background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46);
}

.cushing-mini .el-radio__inner::after {
  box-sizing: content-box;
  content: '';
  border: 2px solid #ffffff;
  border-left: 0;
  border-top: 0;
  height: 9px;
  left: 5px;
  border-radius: 0;
  background-color: transparent;
  position: absolute;
  top: 1px;
  transform: rotate(45deg) scaleY(0);
  width: 4px;
  transition: transform 0.15s ease-in 0.05s;
  transform-origin: center;
}

.cushing-mini {

  .el-radio__input.is-checked .el-radio__inner,
  .el-radio__input.is-indeterminate .el-radio__inner {
    background-color: #009eff;
    border-color: #009eff;
    background: linear-gradient(90deg, #009eff 0%, #009eff 100%);
  }

  .el-radio__inner:hover {
    border-color: #009eff;
  }

  .el-radio__input.is-checked+.el-radio__label {
    color: #fff;
  }
}

.cushing-mini.el-radio:focus:not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner {
  box-shadow: 0 0 0px 0px #009eff !important;
}

.incat-radio {
  border-radius: 6px;

  .el-radio__input.is-checked .el-radio__inner:after {
    transform: rotate(45deg) scaleY(1);
  }

  .el-radio__input.is-disabled.is-checked .el-radio__inner::after {
    background-color: transparent;
  }

  .el-radio__label {
    font-size: 15px;
    text-overflow: ellipsis;
    word-wrap: normal;
    white-space: normal;
    line-height: 18px;
    vertical-align: text-top;
    display: inline-block;
    color: #263238;
  }

}

.incat-radio-other {
  background: #ffffff;
  border-radius: 6px;

  .el-radio__input.is-checked .el-radio__inner:after {
    transform: rotate(45deg) scaleY(1);
  }

  .el-radio__input.is-disabled.is-checked .el-radio__inner::after {
    background-color: transparent;
  }


}

.incat-mini .el-radio__inner {
  display: inline-block;
  position: relative;
  border: 1px solid #a4a4a4;
  border-radius: 50%;
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  background: #ffffff;
  box-shadow: 0px 1px 0px 0px #ffffff, 0px 1px 1px 0px #b9c3ce;
  z-index: 1;
  transition: border-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46), background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46);
}

.incat-mini .el-radio__inner::after {
  box-sizing: content-box;
  content: '';
  border: 2px solid #ffffff;
  border-left: 0;
  border-top: 0;
  height: 8px;
  left: 5px;
  border-radius: 0;
  background-color: transparent;
  position: absolute;
  top: 2px;
  transform: rotate(45deg) scaleY(0);
  width: 4px;
  transition: transform 0.15s ease-in 0.05s;
  transform-origin: center;
}

.incat-mini {

  .el-radio__input.is-checked .el-radio__inner,
  .el-radio__input.is-indeterminate .el-radio__inner {
    background-color: #277fd6;
    border-color: #277fd6;
    background: linear-gradient(90deg, #277fd6 0%, #277fd6 100%);
  }

  .el-radio__inner:hover {
    border-color: #277fd6;
  }

  .el-radio__input.is-checked+.el-radio__label {
    color: #263238;
  }
}

.incat-mini.el-radio:focus:not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner {
  box-shadow: 0 0 0px 0px #409eff !important;
}

.el-checkbox__label {
  display: inline-block;
  padding-left: 10px;
  line-height: 19px;
  font-size: 15px;
}

.el-checkbox__inner {
  display: inline-block;
  position: relative;
  border: 1px solid #dcdfe6;
  border-radius: 5px;
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  background: #fff;
  box-shadow: 0px 1px 0px 0px #ffffff, 0px 1px 1px 0px #b9c3ce;
  z-index: 1;
  transition: border-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46), background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46);
}

.el-checkbox__inner::after {
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  content: "";
  border: 2px solid #fff;
  border-left: 0;
  border-top: 0;
  height: 8px;
  left: 5px;
  position: absolute;
  top: 1px;
  -webkit-transform: rotate(45deg) scaleY(0);
  transform: rotate(45deg) scaleY(0);
  width: 4px;
  -webkit-transition: -webkit-transform .15s ease-in .05s;
  transition: -webkit-transform .15s ease-in .05s;
  transition: transform .15s ease-in .05s;
  transition: transform .15s ease-in .05s, -webkit-transform .15s ease-in .05s;
  -webkit-transform-origin: center;
  transform-origin: center;
}

.baqsj-review {
  .el-descriptions__label.el-descriptions__cell.is-bordered-label {
    font-weight: 500;
    color: #111;
    background: #fff;
  }

  .el-descriptions-item__label.is-bordered-label {
    color: #111;
    background: #f8f8f8;
  }

  .el-descriptions__table {
    border-radius: 50px;
  }

  .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell {
    border: 1px solid #ddd;
    padding: 10px 11px;
    width: 150px;
  }

  .el-descriptions__label.el-descriptions__cell.is-bordered-label {
    font-weight: 500;
    color: #111;
    background: #ddd;
  }

  .el-descriptions .is-bordered .el-descriptions-item__cell {
    border: 1px solid #ddd;
    padding: 12px 10px;
  }

  .el-descriptions__title {
    color: #111;
    font-size: 15px;
    font-weight: 600;
  }

  .el-descriptions__content.el-descriptions__cell.is-bordered-content {
    color: rgba($color: #111, $alpha: 0.8);
  }

  .el-descriptions__body .el-descriptions__table .el-descriptions__cell {
    font-size: 16px;
    word-break: break-word;
  }
}

.el-checkbox__input.is-disabled+span.el-checkbox__label {
  color: #606266;
  cursor: not-allowed;
}

.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner {
  background-color: #4d70ff;
  border-color: #4d70ff;
}

.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner::after {
  border-color: #fff;
}

.el-divider--horizontal {
  display: block;
  height: 1px;
  width: 100%;
  margin: 15px 0;
}

.dashboard-table {
  .el-table__body-wrapper {
    .el-table__body {
      td {
        .cell {
          min-height: 35px !important;
          line-height: 35px !important;
          color: rgba(0, 0, 0, .65);
          font-size: 15px;
        }
      }
    }
  }

}

.el-table::before {
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0px;
}

  .history-baqsj {
    .el-card__body {
    background: #fff !important;
    padding: 10px 20px 20px 10px !important;
  }
  }

.el-form-item--small .el-form-item__content {
    line-height: 32px;
    min-height: 37px
}


.el-table__body-wrapper {
  // 滚动条样式修改
  /* 滚动条轨道区域样式 */
  &::-webkit-scrollbar {
    width: 8px; /* 设置滚动条宽度为8像素 */
    background-color: transparent;
  }
  /* 滑块样式 */
  &::-webkit-scrollbar-thumb {
    background-color: #277fd6; /* 设置滑块颜色为深灰色 */
    border-radius: 4px; /* 设置滑块边角半径为4像素 */
  }
  /* 滚动条轨道内部空白区域样式 */
  &::-webkit-scrollbar-track {
    background-color: #f0f0f0; /* 设置轨道背景色为浅灰色 */
  }

  /* 滚动条两端按钮样式 */
  &::-webkit-scrollbar-button {
    display: none; /* 不显示按钮 */
  }

  /* 交叉点处的区域样式 */
  &::-webkit-scrollbar-corner {
    background-color: transparent; /* 设置交叉点处的背景色为透明 */
  }

  /* 调整大小手柄样式 */
  &::-webkit-resizer {
    display: none; /* 不显示调整大小手柄 */
  }
}
.el-table th.gutter {
  // display: none !important;
  width: 8px !important;
}
.el-table colgroup col[name="gutter"] {
  display: none;
  width: 8px;
}
.el-table__body {
  width: 100% !important;
}

.el-tree-node__content{
  height: 40px;
}

.el-calendar__header{
  flex-direction: column;
  align-items: center;
  justify-content:space-between;
  .el-calendar__title{
    margin-bottom: 10px;
  }
}

.el-calendar__body{
  padding-bottom: 20px;
  .el-calendar-day{
    height: 40px;
    line-height: 24px;
    text-align: center;
  }
}
